home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
435
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
2KB
Path: solon.com!not-for-mail
From: thads@csn.net (Thad Smith)
Newsgroups: comp.std.c,comp.lang.c.moderated
Subject: Re: Integral promotion.
Date: 25 Feb 1996 12:11:50 -0600
Organization: T3 Systems
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4gq8p6$oqk@solutions.solon.com>
References: <4fstj7$2l6@solutions.solon.com> <4fu835$9de@solutions.solon.com>
<4fvgrm$dv9@solutions.solon.com> <4g27gn$q5k@solutions.solon.com>
Reply-To: ThadSmith@acm.org
NNTP-Posting-Host: solutions.solon.com
In article <4gnbbp$bhu@solutions.solon.com>,
jmccarty@spdmail.spd.dsccc.com (Mike McCarty) wrote:
>)Thus, the implementation has to say exactly how it handles this.
>)There is still some question as to whether the implementation can
>)define it as an overflow resulting in program termination, is there
>)not?
>
>Where in the standard does it say that a compiler must be accompanied by
>-any- documentation?
>From ANSI Classic 1.6:
" Implementation -- a particular set of software, running in a
particular translation environment under particular control options,
that performs translation of programs for, and supports execution in a
particular exectution environment.
Implementation-defined behavior -- behavior, for a correct program
construct and correct data, that depends on the characteristics of the
implementation and that each implementation shall document."
If a particular implementation doesn't specify each of the explicit
implementation-defined behaviors, it isn't conforming.
Thad